package com.scvtc.domain.entity.party;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("党员信息管理")
@TableName("party_inparty")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PartyInparty implements Serializable {
    @TableId
    private Integer id;

    /**
     * 教师外键
     */
    @ApiModelProperty(value = "党员外键")
    private Integer partyId;


    @TableField("inParty_register")
    @ApiModelProperty(value = "入党登记图片路径")
    private String inPartyRegister;

    @TableField("inParty_petition")
    @ApiModelProperty(value = "入党申请书图片路径")
    private String inPartyPetition;

    @TableField("inParty_report")
    @ApiModelProperty(value = "思想汇报图片路径")
    private String inPartyReport;

    @TableField("inParty_activists_report")
    @ApiModelProperty(value = "入党积极分子报告图片路径")
    private String inPartyActivistsReport;

    @TableField("inParty_really_report")
    @ApiModelProperty(value = "发展预备党员登记图片路径")
    private String inPartyReallyReport;

    @TableField("inParty_formal_report")
    @ApiModelProperty(value = "正式党员登记图片路径")
    private String inPartyFormalReport;

}
